import PageLayoutVue from "@/layout/PageLayout.vue";

export default {
    cn_name: "页面",
    en_name: "Page",
    icon: 'icon-Tab_shezhi',
    id: "page",
    path:'/app/loong3/pages',
    pid: "0",
    type: 2,
    children:[
        {
            cn_name: "表格",
            en_name: "Table",
            icon: 'icon-Tab_shezhi',
            id: "page-table",
            path:'/app/loong3/pages/table',
            pid: "page",
            type: 2,
            children:[
                {
                    cn_name: "基础表格",
                    en_name: "Basic Table",
                    icon: 'icon-Tab_shezhi',
                    id: "page-table-basic",
                    path: '/app/loong3/pages/table/basic',
                    pid: "page-table",
                    type: 2,
                },
                {
                    cn_name: "完整表格",
                    en_name: "Complete Table",
                    icon: 'icon-Tab_shezhi',
                    id: "page-table-complete",
                    path: '/app/loong3/pages/table/complete',
                    pid: "page-table",
                    type: 2,
                },
            ]
        },
        {
            cn_name: "表单",
            en_name: "Form",
            icon: 'icon-Tab_shezhi',
            id: "page-form",
            path:'/app/loong3/pages/form',
            pid: "page",
            type: 2,
            children:[
                {
                    cn_name: "基础表单",
                    en_name: "Basic Form",
                    icon: 'icon-Tab_shezhi',
                    id: "page-form-basic",
                    path: '/app/loong3/pages/form/basic',
                    pid: "page-form",
                    type: 2,
                },
                {
                    cn_name: "完整表单",
                    en_name: "Complete Form",
                    icon: 'icon-Tab_shezhi',
                    id: "page-form-complete",
                    path: '/app/loong3/pages/form/complete',
                    pid: "page-form",
                    type: 2,
                },
                {
                    cn_name: "表单设计",
                    en_name: "Form Design",
                    icon: 'icon-Tab_shezhi',
                    id: "page-form-design",
                    path: '/app/loong3/pages/form/design',
                    pid: "page-form",
                    type: 2,
                }
            ]
        },
        {
            cn_name: "网络请求",
            en_name: "Net Request",
            icon: "icon-Tab_shezhi",
            id: "page-next",
            path: '/app/loong3/pages/request',
            pid: "page",
            type: 2,
        }
    ]
}



export const testRouter = {
    path:'/app/loong3/pages',
    name: 'pages',
    component: PageLayoutVue,
    redirect:"/app/loong3/pages/table",
    meta: { title: '页面', hideInMenu: false },
    children:[
        {
            path:'/app/loong3/pages/table',
            name: 'pages-table',
            component: PageLayoutVue,
            redirect:"/app/loong3/pages/table/basic",
            meta: { title: '表格', hideInMenu: false },
            children:[
                {
                    path: '/app/loong3/pages/table/basic',
                    component:()=> import("../views/table/index.vue"),
                    name: 'basic-table',
                    meta:{
                        title:"基础表格",
                        keepAlive: false,
                    }
                },
                {
                    path: '/app/loong3/pages/table/complete',
                    component:()=>import("../views/table/complete.vue"),
                    name: 'complete-table',
                    meta:{
                        title:"完整表格",
                        keepAlive: false,
                    }
                },
            ]
        },
        {
            path:'/app/loong3/pages/form',
            name: 'pages-form',
            component: PageLayoutVue,
            redirect:"/app/loong3/pages/form/basic",
            meta: { title: '表单', hideInMenu: false },
            children:[
                {
                    path: '/app/loong3/pages/form/basic',
                    component:()=>import("../views/form/index.vue"),
                    name: 'basic-form',
                    meta:{
                        title:"基础表单",
                        keepAlive: false,
                    }
                },
                {
                    path: '/app/loong3/pages/form/complete',
                    component:()=>import("../views/form/complete.vue"),
                    name: 'complete-form',
                    meta:{
                        title:"完整表单",
                        keepAlive: false,
                    }
                },
                {
                    path: '/app/loong3/pages/form/design',
                    component:()=>import("../views/form/design.vue"),
                    name: 'design-form',
                    meta:{
                        title:"表单设计",
                        keepAlive: false,
                    }
                },
            ]
        },
        {
            path: '/app/loong3/pages/request',
            component:()=>import("../views/request/index.vue"),
            name: 'request',
            meta:{
                title:"网络请求",
                keepAlive: false,
            }
        }
    ]
}
